package com.hilinos.base.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@ConfigurationProperties(prefix = "com.hilinos.user.server")
@Configuration
public class ServerConfig {

    /**
     * 超管用户id
     */
    private String adminUserId = "admin";

    /**
     * 超管平台id
     */
    private String adminAppid = "rootappid";

    /**
     * 超管账号
     */
    private String adminAccountId = "admin";

    /**
     * 超管机构ID
     */
    private String adminOrgId = "admin_orgid";

    /**
     * 超管部门ID
     */
    private String adminDeptId = "admin_deptid";

    /**
     * 默认账户类型
     */
    private String defaultAccountType = "default";

    /**
     * token过期时间,单位秒
     */
    private long tokenExpireTime = 3600;

}
